.thumbnail {
    display: block;
    margin-bottom: 5px;
    padding: 4px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    background-color: #ffffff;
    line-height: 1.72222;
    -webkit-transition: border 0.25s ease-in-out;
            transition: border 0.25s ease-in-out;
  }
  .thumbnail > img,
  .thumbnail a > img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
    height: auto;
  }
  a.thumbnail:hover,
  a.thumbnail:focus,
  a.thumbnail.active {
    border-color: #16a085;
  }
  .thumbnail .caption {
    padding: 9px;
    color: #34495e;
  }